<include file="Public/head" />
<include file="Public/menu" />
<include file="Sysconfig/menu" />
<!-- 详情页 -->
<div class="indexBox">
    <div class="boxTitle">配置项列表</div>
    <div id="list">
        <form action="{:U('Sysconfig/doSave')}" method="post">
            <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                <tbody>
                    <tr>
                        <th width="40px" align="center">编号</th>
                        <th width="200px" align="center">配置项</th>
                        <th width="400px" align="center">内容</th>
                        <th width="200px" align="center">变量名</th>
                        <th align="center">操作</th>
                    </tr>
                    <volist name="list" id="v">
                        <tr>
                            <td align="center">{$v.id}</td>
                            <td align="center">{$v.info}</td>
                            <td align="center"><input type="text" name="{$v.varname}" value="{$v.value}" style="width:380px;border:1px dotted gray;" /></td>
                            <td align="center">{$v.varname}</td>
                            <td align="center">
                                <a href="{:U('Sysconfig/edit')}&id={$v.id}">编辑</a> | <a href="{:U('Sysconfig/del')}&id={$v.id}">删除</a>
                            </td>
                        </tr>
                    </volist>
                    <tr>
                        <td colspan="5" align="center">
                            <input class="btn" type="submit" value="保存" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>
    <div class="clear"></div>
    <div class="pager">
        总计 {$count} 个记录，共 {$pages} 页，当前第 {$nowpage} 页
        <if condition="$pages != 0">{$page}</if>
    </div>
    <script type="text/javascript">
        $(function(){
            $(".pager>div").css("display", "inline-block");
        });
    </script>
</div>
<include file="Public/footer" />